package com.mall.db.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mall.db.dao.CourierDao;
import com.mall.db.domain.Courier;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author LSM
 * @since 2021-09-26
 */
@Service
public class CourierService extends ServiceImpl<CourierDao, Courier> {

    @Autowired
    private CourierDao cd;

    public Integer addOne(Courier courier){
        Integer i = cd.addOne(courier);
        return i;
    }

}
